home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / pc / Demos / Bombardier_PC / BSCRIPTS.CST / 00018_Script_cabin detail < prev    next >
Text File  |  1999-04-25  |  2KB  |  61 lines

  1. -- ⌐ 1998 @radical.media, inc. & Concurrent New Media Group, L.L.C.
  2. -- Developed for Bombardier, Inc.
  3. --
  4. -- All programming developed by: 
  5. -- Robert Fabricant, Valerie Valoueva, Ossi Shaked, 
  6. -- Henry Sauvageot, Chris Howell & Chris Girand
  7. --
  8. -- Use of this code by parties other than @radical.media, inc. or their
  9. --agents 
  10. -- without the express written consent of @radical.media, inc. AND Concurrent 
  11. -- New Media Group, L.L.C. is strictly prohibited.
  12. ------------------------------------------------------
  13. -------*This script is not used in this version of the movie*----------
  14.  
  15. on getbehaviorDescription
  16.   return "changes the image on rollover"
  17. end
  18.  
  19.  
  20. on mouseEnter me
  21.   global gSub ,gSImage,gBlunk
  22.   if gSub <> the spritenum of me then
  23.     set Rcast= the castnum of sprite the spritenum of me +1
  24.     set the castnum of sprite the spritenum of me to Rcast
  25.   end if
  26.   
  27.   set dimage = the castnum of sprite the spritenum of me +1
  28.   put dimage&&gSub
  29.   set gBlunk = the castnum of sprite 36
  30.   set the castnum of sprite 36 to dimage
  31.   set the ink of sprite 36 to 0
  32.   updatestage 
  33.   
  34. end
  35.  
  36. on mouseleave me
  37.   global gSub,gBlunk
  38.   put gSub
  39.   if gSub <> the spritenum of me then
  40.     set Ncast= the castnum of sprite the spritenum of me -1
  41.     set the castnum of sprite the spritenum of me to Ncast 
  42.   end if
  43.   set the castnum of sprite 36 to gBlunk
  44.   set the ink of sprite 36 to 39
  45.   updatestage
  46. end
  47.  
  48.  
  49. on mouseup me
  50.   global gSub,gSImage
  51.   
  52.   if gSub <> the spritenum of me then
  53.     set gSub = the spritenum of me
  54.     set gSImage = the castnum of sprite the spritenum of me
  55.   end if
  56.   
  57.   pass
  58.   
  59. end
  60.  
  61.